import request from '@/utils/request'

//【用户管理】返回 部门信息树
export function getTreeGridListJson(data: any) {
  return request({
    url: '/Wms_Item_Category/TreeGridListJson',
    method: 'post',
    data,
  })
}

export function getList(data: any) {
  return request({
    url: '/Wms_Item_Category/GetPageData',
    method: 'post',
    data,
  })
}

export function doEdit(data: any) {
  return request({
    url: '/Wms_Item_Category/save',
    method: 'post',
    data,
  })
}
export function gets(data: any) {
  return request({
    url: '/Wms_Item_Category/GetS',
    method: 'post',
    data,
  })
}
export function doDelete(data: any) {
  return request({
    url: '/Wms_Item_Category/dels',
    method: 'post',
    data,
  })
}
